package com.yuke.cloud.service.smc.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.persistence.*;

@ApiModel(value="com.yuke.cloud.service.smc.entity.ShopCollect")
@Table(name = "shop_collect")
public class ShopCollect {
    /**
     * 主键ID
     */
    @Id
    @Column(name = "collect_id")
    @ApiModelProperty(value="collectId主键ID")
    private Long collectId;

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    @ApiModelProperty(value="userId用户ID")
    private Long userId;

    /**
     * 收藏的店铺ID
     */
    @Column(name = "shop_id")
    @ApiModelProperty(value="shopId收藏的店铺ID")
    private Long shopId;

    /**
     * 1用户端，2商家端
     */
    @Column(name = "aspect_type")
    @ApiModelProperty(value="aspectType1用户端，2商家端")
    private Byte aspectType;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @ApiModelProperty(value="createTime创建时间")
    private Date createTime;

    /**
     * 获取主键ID
     *
     * @return collect_id - 主键ID
     */
    public Long getCollectId() {
        return collectId;
    }

    /**
     * 设置主键ID
     *
     * @param collectId 主键ID
     */
    public ShopCollect setCollectId(Long collectId) {
        this.collectId = collectId;
        return this;
    }

    /**
     * 获取用户ID
     *
     * @return user_id - 用户ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     *
     * @param userId 用户ID
     */
    public ShopCollect setUserId(Long userId) {
        this.userId = userId;
        return this;
    }

    /**
     * 获取收藏的店铺ID
     *
     * @return shop_id - 收藏的店铺ID
     */
    public Long getShopId() {
        return shopId;
    }

    /**
     * 设置收藏的店铺ID
     *
     * @param shopId 收藏的店铺ID
     */
    public ShopCollect setShopId(Long shopId) {
        this.shopId = shopId;
        return this;
    }

    /**
     * 获取1用户端，2商家端
     *
     * @return aspect_type - 1用户端，2商家端
     */
    public Byte getAspectType() {
        return aspectType;
    }

    /**
     * 设置1用户端，2商家端
     *
     * @param aspectType 1用户端，2商家端
     */
    public ShopCollect setAspectType(Byte aspectType) {
        this.aspectType = aspectType;
        return this;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public ShopCollect setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }
}